package com.study.operateDB;

import com.study.operateDB.Enum.ExcuteStatus;

public class ExcuteResult {
	private int resultCount;
	private ExcuteStatus excuteStatus;

	public ExcuteResult() {
	}

	public ExcuteResult(int resultCount, ExcuteStatus excuteStatus) {
		this.resultCount = resultCount;
		this.excuteStatus = excuteStatus;
	}

	public ExcuteStatus getExcuteStatus() {
		return excuteStatus;
	}

	public void setExcuteStatus(ExcuteStatus excuteStatus) {
		this.excuteStatus = excuteStatus;
	}

	public int getResultCount() {
		return resultCount;
	}

	public void setResultCount(int resultCount) {
		this.resultCount = resultCount;
	}

	@Override
	public String toString() {
		return this.getExcuteStatus() + " : " + this.getResultCount();
	}
}
